package com.ele.service;

import com.ele.pojo.Deliveryaddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ele.pojo.ResponseData;

/**
* @author 28444
* @description 针对表【deliveryaddress】的数据库操作Service
* @createDate 2024-04-11 19:54:28
*/
public interface DeliveryaddressService extends IService<Deliveryaddress> {
    /**
     * 获取收货地址
     * @param userId
     * @return
     */
    ResponseData<Deliveryaddress> getReceiveAddress(String userId);
    /**
     * 查询当前登录用户的所有收货地址
     */
    ResponseData<Deliveryaddress> getReceiveAddressAll(String userId);
}
